<script>
export default {
  onLaunch: function () {
    console.log('App Launch')
  },
  onShow: function () {
    console.log('App Show')
  },
  onHide: function () {
    console.log('App Hide')
  },
}
</script>

<style>
/*每个页面公共css */
@import './assets/css/main.css';

.u-icon {
  display: inline-block !important;
}

.u-loading-icon {
  display: inline-block !important;
  margin: 0 10px;
}

.uni-icon_toast {
  margin: 15px 0 10px 0 !important;
}

.uni-icon-error::before {
  font-size: 30px !important;
}

.slideUp-enter-active,
.slideUp-leave-active {
  transition: all 0.3s;
}

.slideUp-enter,
.slideUp-leave-to {
  transform: translate3d(0, 100%, 0);
  opacity: 0;
}

.slideDown-enter-active,
.slideDown-leave-active {
  transition: all 0.3s;
}

.slideDown-enter,
.slideDown-leave-to {
  transform: translate3d(0, -100%, 0);
  opacity: 0;
}

.fade-enter-active,
.fade-leave-active {
  transition: all 0.3s;
}

.fade-enter,
.fade-leave-to {
  opacity: 0;
}

.slide-enter-active,
.slide-leave-active {
  transition: all 0.3s;
}

.slide-enter {
  transform: translate3d(100%, 0, 0);
}

.slide-leave-to {
  transform: translate3d(-100%, 0, 0);
}

.slideLR-item {
  transition: all 0.3s;
}

.slideLR-enter,
.slideLR-leave-to {
  opacity: 0;
  transform: translateY(100%);
}

.slideLR-leave-active {
  position: absolute;
}
</style>
